package lar.game.rules;

import lar.game.physics.Vector;

public class Constants
{
	public static final int TERRAIN_SIZE = 480;
	public static final int TERRAIN_TOP = 300;
	public static final int FPS = 10;
	public static final int PHYSICS_LOOP = 1;
	
	public static final boolean INSTANT_FALL = false;
	public static final int TERRAIN_FALL_SPEED = 1;
	
	public static final double DOME_SIDE = 7;
	public static final double DOME_MASS_CENTER = DOME_SIDE / 2;
	public static final int DOME_EXTRA_RADIUS = 4;
	public static final double TANK_RADIUS = 5.5;
	public static final double TANK_MUZZLE = 6;
	public static final double TANK_MUZZLE_HEIGHT = 2;
	public static final int TANK_EXTRA_RADIUS = 2;
	public static final double TANK_MASS_CENTER = TANK_RADIUS / 3;
	
	public static final double SPACE_SCALE = 1;
	public static final double TIME_SCALE = 0.1;
	public static final double SPEED_SCALE = 0.1;
	
	public static final double G = -0.2 * SPEED_SCALE; 
	public static final double SAFE_SPEED = -0.5;
	public static final Vector FRICTION = new Vector(0, -5 * SPEED_SCALE);
	
	public static final Vector GRAVITY = new Vector(0, G);
	public static final Vector SAFE_VECTOR = new Vector(0, SAFE_SPEED);
	public static final Vector TANK_GRAVITY = GRAVITY;
	
	public static final double FALL_DAMAGE = 300 * SPACE_SCALE;
	public static final double SELL_RATIO = 0.5;
	
	public static final boolean ALLOW_EMPTY_NAMES = false;
}
